package com.classs05.b_object;


public class Test02 {
    public static void main(String[] args) {
        Person p1 = new Person("张三", "18");
        Person p2 = new Person("张三", "18");
//        System.out.println(p1 == p2); //==在引用类型中，比较的是引用地址
//        System.out.println(p1.equals(p2));
//        System.out.println(p1.equals("abc"));
        System.out.println(p1.getClass());
        System.out.println("abc".getClass());


    }
}
